package cn.cs.service;

import cn.cs.common.Dto;
import cn.cs.common.Page;
import cn.cs.pojo.ShopOrder;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface ShopOrderService {

    public ShopOrder getShopOrderById(Long id)throws Exception;

    public List<Map<String,Object>>	getShopOrderDetails(String id)throws Exception;

    public Integer getShopOrderCountByMap(Map<String, Object> param)throws Exception;

    public Integer itriptxAddShopOrder(ShopOrder shopOrder)throws Exception;

    public Integer itriptxModifyShopOrder(ShopOrder shopOrder)throws Exception;

    public Integer itriptxDeleteShopOrderById(Long id)throws Exception;

    public Page<ShopOrder> queryShopOrderPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize)throws Exception;

    public Page<ShopOrder> queryShopOrderAgentPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize)throws Exception;

    public Dto submitOrder(HttpServletRequest request) throws Exception;

    public Dto getOrdInfoById(String orderId, HttpServletRequest request);

    public Dto plantGetOrdInfoById(HttpServletRequest request);

    public Dto getOrdInfoByUserId(HttpServletRequest request);

    public Dto evaluate(HttpServletRequest request);

    public Dto getEvaluateByOrderId(HttpServletRequest request);

    public Dto hasGetPro(HttpServletRequest request);

    public Dto cancelOrder(HttpServletRequest request);
}
